type iFormType = 'input' | 'password' | 'select' | 'datepicker'

export interface IFormItem {
  field: string
  type: iFormType
  label: string
  rules?: any[]
  placeholder?: any
  options?: any[] // 针对select
  otherOptions?: any // 针对特殊类型
  isHidden?: boolean
  maxWidth?: string
}

export interface Iform {
  formItems: IFormItem[]
  labelWidth?: string
  colLayout?: any
  itemStyle?: any
  maxWidth?: string
}
